let inputStr = process.argv[2]
let keyMap = {a:true,e:true,i:true,o:true,u:true}
let arr = inputStr.split('')
let outputStr = ''
for(let i = 0; i < arr.length; i++){
    if(!keyMap[arr[i]]){
        let sub = arr.splice(0,i+1)
        outputStr = arr.join('') + '-' + sub.join('') + 'ay'
        console.log(outputStr)
        break
    }
}